//
//  HomeController.swift
//  Swiift_SinaWeibo
//
//  Created by bear on 16/5/19.
//  Copyright © 2016年 bear. All rights reserved.
//

import UIKit

class HomeController: BaseTableViewController {
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        visitorLoginView.updateUI("关注一些人,回到这里看看有什么惊喜", imageName: "visitordiscover_feed_image_smallicon",isHome: true)
        
        setHomeNav();
        
        

        
        

    
        
    }
    


    
    func setHomeNav() {
                self.navigationItem.rightBarButtonItem=UIBarButtonItem.createBarButtonItem("navigationbar_pop", title: "", target: self, action: #selector(popNext))
    }
    
    @objc  private  func popNext()  {
        
        self.navigationController!.pushViewController(DetailViewController(), animated: true)
    }
    

}
